package com.tqjc.system.core.gate.constants;

import com.tqjc.system.common.entity.BO.GateExitBO;
import com.tqjc.system.system.entity.SysGateRecordEntity;
import org.apache.commons.collections4.Put;

import javax.naming.ldap.HasControls;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author 86195
 * @version 1.0
 * @description 道闸常量类
 * @date 2023/9/20 14:30
 */
public class GateConstant {

    /**
     * 道闸1口下标
     */
    public static final List<Integer> GATE_1 = Arrays.asList(0,1,2,3);

    /**
     * 道闸2口下标
     */
    public static final List<Integer> GATE_2 = Arrays.asList(4,5);

    public static final List<Integer> RECORD_GATE_LIST = Arrays.asList(0,1,2,3,4,5);

    /**
     * key:ip   value:gateName
     */
    public static final Map<String,String> GATE_NAME_MAP = new HashMap<String,String>(6);

    /**
     * key：gateName  value:ipIndex
     */
    public static final Map<String,List<Integer>> GATE_NAME_RELATION_INDEX_MAP = new HashMap<String,List<Integer>>(4);

    public static final Map<String,GateExitBO> GATE_EXIT_BO_MAP = new ConcurrentHashMap<>();


    public static final String KEY_FILE_PATH = "filePath";

    public static final String KEY_FILE_NAME= "fileName";


    public static final String PATTERN_CAR_LICENSE = "\\w";


    public static final String FILE_PREFIX= "D:/抓拍_java/";








}
